﻿using MyAMS.WebServer.Models;

namespace MyAMS.WebServer.Repositories
{
    /// <summary>
    /// 用户仓库
    /// </summary>
    public interface IUserRepository
    {
        /// <summary>
        /// 获取用户
        /// </summary>
        /// <param name="name">用户名</param>
        /// <returns>用户</returns>
        User GetUser(string name);
    }
}
